package com.tmeone.erpone.entity;


import com.baomidou.mybatisplus.annotation.TableField;

import java.util.List;

public class TDepartment {

    private String id;
    private String pid;
    private String no;
    private String name;
    private String manager;
    private String phone;
    private String tel;
    private String email;
    private String intro;
    private String cId;

    @TableField(exist = false)
    private String fPoName;

    @TableField(exist = false)
    private String fId;

    @TableField(exist = false)
    private String fDId;

    public String getfId() {
        return fId;
    }

    public void setfId(String fId) {
        this.fId = fId;
    }

    public String getfDId() {
        return fDId;
    }

    public void setfDId(String fDId) {
        this.fDId = fDId;
    }

    public String getfPoName() {
        return fPoName;
    }

    public void setfPoName(String fPoName) {
        this.fPoName = fPoName;
    }

    @TableField(exist = false)
    private List<TDepartment> departments;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getcId() {
        return cId;
    }

    public void setcId(String cId) {
        this.cId = cId;
    }

    public List<TDepartment> getDepartments() {
        return departments;
    }

    public void setDepartments(List<TDepartment> departments) {
        this.departments = departments;
    }
}
